package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Activityprizes implements Serializable {
    private String apno;

    private String arno;

    private String prino;

    private String apname;

    private String apnumber;

    private String bno;

    private String apprizetype;

    private String apdescribe;

    private Integer apstate;

    private static final long serialVersionUID = 1L;

    public String getApno() {
        return apno;
    }

    public void setApno(String apno) {
        this.apno = apno;
    }

    public String getArno() {
        return arno;
    }

    public void setArno(String arno) {
        this.arno = arno;
    }

    public String getPrino() {
        return prino;
    }

    public void setPrino(String prino) {
        this.prino = prino;
    }

    public String getApname() {
        return apname;
    }

    public void setApname(String apname) {
        this.apname = apname;
    }

    public String getApnumber() {
        return apnumber;
    }

    public void setApnumber(String apnumber) {
        this.apnumber = apnumber;
    }

    public String getBno() {
        return bno;
    }

    public void setBno(String bno) {
        this.bno = bno;
    }

    public String getApprizetype() {
        return apprizetype;
    }

    public void setApprizetype(String apprizetype) {
        this.apprizetype = apprizetype;
    }

    public String getApdescribe() {
        return apdescribe;
    }

    public void setApdescribe(String apdescribe) {
        this.apdescribe = apdescribe;
    }

    public Integer getApstate() {
        return apstate;
    }

    public void setApstate(Integer apstate) {
        this.apstate = apstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Activityprizes other = (Activityprizes) that;
        return (this.getApno() == null ? other.getApno() == null : this.getApno().equals(other.getApno()))
            && (this.getArno() == null ? other.getArno() == null : this.getArno().equals(other.getArno()))
            && (this.getPrino() == null ? other.getPrino() == null : this.getPrino().equals(other.getPrino()))
            && (this.getApname() == null ? other.getApname() == null : this.getApname().equals(other.getApname()))
            && (this.getApnumber() == null ? other.getApnumber() == null : this.getApnumber().equals(other.getApnumber()))
            && (this.getBno() == null ? other.getBno() == null : this.getBno().equals(other.getBno()))
            && (this.getApprizetype() == null ? other.getApprizetype() == null : this.getApprizetype().equals(other.getApprizetype()))
            && (this.getApdescribe() == null ? other.getApdescribe() == null : this.getApdescribe().equals(other.getApdescribe()))
            && (this.getApstate() == null ? other.getApstate() == null : this.getApstate().equals(other.getApstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getApno() == null) ? 0 : getApno().hashCode());
        result = prime * result + ((getArno() == null) ? 0 : getArno().hashCode());
        result = prime * result + ((getPrino() == null) ? 0 : getPrino().hashCode());
        result = prime * result + ((getApname() == null) ? 0 : getApname().hashCode());
        result = prime * result + ((getApnumber() == null) ? 0 : getApnumber().hashCode());
        result = prime * result + ((getBno() == null) ? 0 : getBno().hashCode());
        result = prime * result + ((getApprizetype() == null) ? 0 : getApprizetype().hashCode());
        result = prime * result + ((getApdescribe() == null) ? 0 : getApdescribe().hashCode());
        result = prime * result + ((getApstate() == null) ? 0 : getApstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", apno=").append(apno);
        sb.append(", arno=").append(arno);
        sb.append(", prino=").append(prino);
        sb.append(", apname=").append(apname);
        sb.append(", apnumber=").append(apnumber);
        sb.append(", bno=").append(bno);
        sb.append(", apprizetype=").append(apprizetype);
        sb.append(", apdescribe=").append(apdescribe);
        sb.append(", apstate=").append(apstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}